package com.slipper;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@MapperScan({"com.slipper.*.*.dao", "com.slipper.*.dao"})
@SpringBootApplication(scanBasePackages = { "com.slipper" }, exclude = { RedisAutoConfiguration.class })
public class ServiceApplication {
    public static void main(String[] args) {
        System.setProperty("pagehelper.banner", "false");
        SpringApplication.run(ServiceApplication.class, args);
    }
}